<template>
  <div>
    <h1>Grandson</h1>
    {{name}}
    {{age}}
    {{sex}}
    {{getData2()}}
    {{getData3()}}
  </div>
</template>

<script>
export default {
  name: "Grandson",
  props:['name','age','sex','getData2','getData3'],
  mounted() {
    this.$emit('abc')
  },
};
</script>

<style>
</style>